﻿@{
    ViewBag.Title = "FollowUpEdit";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutCMS.cshtml";
}
@model LY.Entity.U_FollowUp
@section htmlhead{
    <link href="~/Content/assets/css/Layout/css/main.css" rel="stylesheet" />
    <link href="~/Content/assets/css/plugin/validator.css" rel="stylesheet" />
}

<div class="container" style="height: 1000px;">
    <div id="forms" class="mt10">
        <div class="box">
            <div class="box_border">
                <div class="box_top"><b class="pl15">跟进编辑</b></div>
                <div class="box_center">
                    <form method="post" id="frmEdit" action="@Url.Action("FollowUpSave")" class="jqtransform">
                        <input id="hideId" name="Id" value="@Model.ID" type="hidden" />
                        <h4 style="margin-left: 15px">跟进客户信息</h4>
                        <table class="form_table pt15 pb15" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="td_right"><span style="color: red;">*</span>客户名称:</td>
                                <td class="">
                                    <input type="text" name="MemberName" id="MemberName" value="@ViewBag.Member.RealName" class="input-text lh30" size="40">
                                    <input type="hidden" name="MemberID" id="MemberID" value="@Model.MemberID" />
                                    <input type="hidden" name="MemberID2" id="MemberID2" value="@ViewBag.Member.ID" />
                                </td>
                                <td class="td_right"><span style="color: red;">*</span>客户电话：</td>
                                <td class="">
                                    <input type="text" name="MobilePhone" id="MobilePhone" value="@ViewBag.Member.Mobilenumber" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right"><span style="color: red;">*</span>客户来源：</td>
                                <td class="">
                                    @*@Html.ResourceDropDownList("CustomerSource", "CustomerSource", @Model.CustomerSource, new { @class = "wh120 select" })*@
                                    <input type="text" name="ClientSource" id="ClientSource" value="@ViewBag.Member.ClientSource" class="input-text lh30" size="40"/>
                                </td>
                                <td class="td_right"><span style="color: red;">*</span>联系日期：</td>
                                <td class="">
                                    <input type="text" name="ContactDate" id="ContactDate" onclick="WdatePicker()" value="@System.DateTime.Now.ToString("yyyy-MM-dd")" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">跟进方式：</td>
                                <td class="">
                                    @Html.ResourceDropDownList("FollowUpMode", "FollowUpMode", @Model.FollowUpMode, new { @class = "wh120 select" })
                                </td>
                                <td class="td_right"><span style="color: red;">*</span>  跟进内容简述：</td>
                                <td class="">
                                    <input type="text" name="FollowUpContent" id="FollowUpContent"  value="@Model.FollowUpContent" class="input-text lh30" size="40">
                                </td>

                            </tr>
                            <tr>
                                <td class="td_right"><span style="color: red;">*</span>跟进状态：</td>
                                <td class="">
                                    @Html.ResourceDropDownList("FollowUpStatus", "FollowUpStatus", @Model.FollowUpStatus, new { @class = "wh300 select" })
                                </td>
                                <td class="td_right">下一次跟进日期：</td>
                                <td class="">
                                    <input type="text" name="NextContactDate" onclick="WdatePicker()" id="Wdate" value="@Model.NextContactDate.ToString("yyyy-MM-dd")" class="input-text lh30" size="40">
                                </td>

                            </tr>
                            <tr>
                                <td class="td_right"><span style="color: red;">*</span>客户状态：</td>
                                <td class="">
                                    @Html.ResourceDropDownList("CustomerStatus", "CustomerStatus", Model.CustomerStatus == null ? 0 : Model.CustomerStatus, new { @class = "wh120 select" })
                                </td>
                                <td class="td_right">失败原因：</td>
                                <td class="">
                                    <input type="text" name="FailReason" id="FailReason" value="@Model.FailReason" class="input-text lh30" size="40">
                                </td>

                            </tr>
                            <tr>
                                <td class="td_right"><span style="color: red;">*</span>产品一名称：</td>
                                <td class="">
                                    <input type="text" name="ProductOneName" id="ProductOneName" value="@Model.ProductOneName" class="input-text lh30" size="40">
                                </td>
                                <td class="td_right"><span style="color: red;">*</span>产品一金额：</td>
                                <td class="">
                                    <input type="text" name="ProductOneMoney" id="ProductOneMoney" value="@Model.ProductOneMoney" class="input-text lh30" size="40">
                                </td>
                                <td class="td_right"><span style="color: red;">*</span>产品一投资期限：</td>
                                <td class="">
                                    <input type="text" name="ProductOneTimeCount" id="ProductOneTimeCount" readonly="true" value="@Model.ProductOneTimeCount" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right"> 产品二名称：</td>
                                <td class="">
                                    <input type="text" name="ProductTwoName" id="ProductTwoName" value="@Model.ProductTwoName" class="input-text lh30" size="40">
                                </td>
                                <td class="td_right">产品二金额：</td>
                                <td class="">
                                    <input type="text" name="ProductTwoMoney" id="ProductTwoMoney" value="@Model.ProductTwoMoney" class="input-text lh30" size="40">
                                </td>
                                <td class="td_right">产品二投资期限：</td>
                                <td class="">
                                    <input type="text" name="ProductTwoTimeCount" id="ProductTwoTimeCount" value="@Model.ProductTwoTimeCount" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">礼品赠送：</td>
                                <td class="">
                                    <input type="text" name="GiftGiving" id="GiftGiving" value="@Model.GiftGiving" class="input-text lh30" size="40">
                                </td>
                                <td class="td_right">备注：</td>
                                <td class="">
                                    <input type="text" name="Remark" id="Remark" value="@Model.Remark" class="input-text lh30" size="40">
                                </td>
                            </tr>
                            <tr>
                                <td class="td_right">理财经理：</td>
                                <td class="">
                                     @Html.ResourceDropDownList("UserID", "User",@Model.UserID,  new { @class = "wh120 select" })
                                </td>
                                <td class="td_right">团队经理：</td>
                                <td class="">
                                     @Html.ResourceDropDownList("TeamID", "User",@Model.TeamUserID,  new { @class = "wh120 select" })
                                </td>
                                <td class="td_right">团队总监：</td>
                                <td class="">
                                     @Html.ResourceDropDownList("ChiefID", "User",@Model.ChiefUserID,  new { @class = "wh120 select" })
                                </td>
                            </tr>


                            <tr>
                                <td class="td_right">&nbsp;</td>
                                <td class="">
                                    <input id="btnSave" type="button" name="button" class="btn btn82 btn_save2" value="保存">
                                    <input id="btnReturn" type="button" name="button" class="btn btn82 btn_res" value="返回">
                                </td>

                            </tr>
                        </table>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@section jssection{
    <script type="text/javascript">
        var util = {};
        var options = {

        };

    </script>
    <script src="~/Content/assets/DatePicker/WdatePicker.js"></script>
    <script src="~/Content/assets/plugins/validator/validator.js"></script>
    <script src="~/Content/assets/js/common.js"></script>
    <script src="~/Content/assets/app/member/followupedit.js"></script>
}